package com.cauli.manage.operationLog.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cauli.manage.operationLog.model.vo.OperationLogVO;
import com.cauli.manage.operationLog.model.dto.OperationLogQueryDTO;
import com.cauli.manage.operationLog.model.entity.OperationLog;

import java.util.List;

/**
 * @author Cauli
 * @date 2023-3-23 15:16:02
 * @description 操作日志 服务类
 */
public interface OperationLogService extends IService<OperationLog> {
    /**
     * 分页获得操作日志
     *
     * @param operationLogQueryDTO
     * @return
     */
    Page getOperationLogPage(OperationLogQueryDTO operationLogQueryDTO);

    /**
     * 根据操作日志ID获取详细信息
     *
     * @param operationLogId
     * @return
     */
    OperationLogVO getOperationLogById(Long operationLogId);

    /**
     * 删除操作日志
     *
     * @param operationLogIds
     */
    void deleteOperationLog(List<Long> operationLogIds);

    /**
     * 添加操作日志
     * @param operationLog
     */
    void addOperationLog(OperationLog operationLog);
}
